#{extends 'main.html' /}
#{set title:'Home' /}

<font face="Verdana">

<center>
<div id="content">
#{if flash.error}
<p class="fError">
<strong>${flash.error}</strong>
</p>
#{/if}
#{if flash.success}
<p class="fSuccess">
<strong>${flash.success}</strong>
</p>
#{/if}
</div>
</center>


#{form @login(), id:'formLogin'}
<center>
<table><tr>
  <td><label>Login: </label></td>
  <td align="right"><input type="text" name="username" size="19" value="${flash.username}" /></td>
</tr>
<tr>
  <td><label>Senha: </label></td>
  <td align="right"><input type="password" name="password" size="19"/></td>
</tr>
<tr>
  <td></td>
  <td align="right"><input type="submit" value="Logar-se" /><br/>
  <a href="@{registro()}"><small>Registrar novo usuário</small></a></td>
</tr></table>
</center>
#{/form}
</font>
